Skip to content

Fix specifying memory order in v2 arrays #2951

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Apr 30, 2025

Conversation

dstansby
Copy link
Contributor

@dstansby dstansby commented Apr 3, 2025

Fixes #2950

TODO:

  • Add unit tests and/or doctests in docstrings
  • Add docstrings and API docs for any new/modified user-facing classes and functions
  • New/modified features documented in docs/user-guide/*.rst
  • Changes documented as a new file in changes/
  • GitHub Actions have all passed
  • Test coverage is 100% (Codecov passes)

@github-actions github-actions bot added the needs release notes Automatically applied to PRs which haven't added release notes label Apr 3, 2025
@d-v-b
Copy link
Contributor

d-v-b commented Apr 3, 2025

this looks good! and my explanation from #2950 was wrong -- this has nothing to do with the global config, it's just buggy code (that i think I wrote).

@dstansby
Copy link
Contributor Author

dstansby commented Apr 3, 2025

So I updated the test, and it now passes a bit more. But the check that the actual array data is F-order now fails, so it looks like the data still isn't (and never was) actually being written in F-order. More digging needed...

@dstansby dstansby marked this pull request as ready for review April 29, 2025 09:26
@github-actions github-actions bot removed the needs release notes Automatically applied to PRs which haven't added release notes label Apr 29, 2025
@dstansby dstansby enabled auto-merge (squash) April 30, 2025 16:39
@dstansby dstansby merged commit 36a1bac into zarr-developers:main Apr 30, 2025
28 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Saving and re-opening a v2 array does not report (or save) correct memory order
3 participants